package sctu.edu.java.year2016.team05.zengkun.day20160524.chapter7_3;

    /**
     * Created by Mike on 2016/5/24.
     * 根据运行参数的个数决定循环打印变量i值的次数。
     */
    import java.util.Scanner;
    public class LittleProgram_1 {

        static void Study(){

            System.out.println("good study！");
        }


        public static void main(String[] args){



            System.out.println("请输入打印次数：");
            Scanner scan=new Scanner(System.in);
            int x=scan.nextInt();


            for(int i=0;i<x;i++){

                Study();

            }

        }

    }


